package com.mjk.manager.usercenter.sclogin.event;

import lombok.Data;

import java.io.Serializable;

@Data
public class LoginEvent implements Serializable {
    public LoginEvent(){
        this.type="sclogin";
    }
    public LoginEvent(String id, String userName, String token){
        this.type="sclogin";
        this.userName = userName;
        this.id = id;
        this.token = token;
    }
    private String type;
    private String id;
    private String userName;
    private String token;
}
